#include "type.h"

#define GPIO_POWERON (1 << 15)

#define PIN_INPUT   0x00
#define PIN_OUTPUT  0x01

#define OFF 0x00
#define ON  0x01

void gpio_init(void);
void gpio_configure(uint8_t bank, uint8_t pin, uint8_t direction);
uint32_t gpio_set(uint8_t bank, uint8_t pin, uint8_t setting);
uint8_t gpio_get(uint8_t bank, uint8_t pin);

